﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.Quality.Migrations
{
    public partial class _20210926_updatestore : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "ProductCodeId",
                table: "StoreStockContents",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SendTimeId",
                table: "StoreStockContents",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ProductCodeId",
                table: "StorePutContents",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SendTimeId",
                table: "StorePutContents",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ProductCodeId",
                table: "StoreStockContents");

            migrationBuilder.DropColumn(
                name: "SendTimeId",
                table: "StoreStockContents");

            migrationBuilder.DropColumn(
                name: "ProductCodeId",
                table: "StorePutContents");

            migrationBuilder.DropColumn(
                name: "SendTimeId",
                table: "StorePutContents");
        }
    }
}
